package com.cndw.kungfu.vo;

import java.util.HashMap;

/**
 * 广播通知
 * 
 * @author fantadust [9677889@qq.com]
 * @date 2011-9-30 下午4:08:01
 */
public class EventNotice extends HashMap<String, Object> {

	private static final long serialVersionUID = -1203945195455141333L;

	private static final String eventObject = "eventObject";
	private static final String eventAction = "eventAction";
	private static final String eventData = "eventData";

	/**
	 * 
	 * @param eventObject
	 *            事件对象
	 * @param eventAction
	 *            事件行为
	 */
	public EventNotice(String obj, String act) {
		put(eventObject, obj);
		put(eventAction, act);
	}
	public EventNotice() {
	}

	public void comitData(Object data) {
		put(eventData, data);
	}

	public static String getEventobject() {
		return eventObject;
	}

	public static String getEventaction() {
		return eventAction;
	}

	public static String getEventdata() {
		return eventData;
	}


}
